{% extends 'base.html' %}

{% block title %} Login {% endblock %}

{% block content %}
<div class="row text-center">
    <h1>登录</h1>
    <p>输入用户和密码</p>
    <form action="." class="form-horizontal" method="post">
        {% csrf_token %}
        {{ form.as_p }}
        <input type="submit" value="登录">
    </form>
</div>
{% endblock %}